package com.youlian.cloud.gateway.api.request;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 网关错误日志
 *
 * @author liukx
 * @Date 2018-08-14 19:18
 */
public class GatewayLogEntity {

    /**
     * Id
     */
    @ApiModelProperty(name = "id", value = "主键")
    private Integer id;

    /**
     * ProjectName
     */
    @ApiModelProperty(name = "id", value = "ProjectName")
    private String projectName;

    /**
     * 服务端编号
     */
    @ApiModelProperty(name = "serverIp", value = "服务端编号")
    private String serverIp;

    /**
     * 客户端编号
     */
    @ApiModelProperty(name = "clientIp", value = "客户端编号")
    private String clientIp;

    /**
     * 请求路径
     */
    @ApiModelProperty(name = "url", value = "请求路径")
    private String url;

    /**
     * 客户端类型
     */
    @ApiModelProperty(name = "contentType", value = "客户端类型")
    private String contentType;

    /**
     * 消息编号
     */
    @ApiModelProperty(name = "logId", value = "消息编号")
    private String logId;

    /**
     * 状态码
     */
    @ApiModelProperty(name = "statusCode", value = "状态码")
    private Integer statusCode;

    /**
     * 错误码
     */
    @ApiModelProperty(name = "errorCode", value = "错误码")
    private String errorCode;

    /**
     * 错误消息
     */
    @ApiModelProperty(name = "errorMsg", value = "错误消息")
    private String errorMsg;

    /**
     * 返回结果
     */
    @ApiModelProperty(name = "rspMsg", value = "返回结果")
    private String rspMsg;

    /**
     * 请求参数
     */
    @ApiModelProperty(name = "reqParams", value = "请求参数")
    private String reqParams;

    /**
     * Created
     */
    @ApiModelProperty(name = "created", value = "Created")
    private Date created;


    /**
     * 获取: Id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置: Id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取: ProjectName
     */
    public String getProjectName() {
        return projectName;
    }

    /**
     * 设置: ProjectName
     */
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    /**
     * 获取: 服务端编号
     */
    public String getServerIp() {
        return serverIp;
    }

    /**
     * 设置: 服务端编号
     */
    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    /**
     * 获取: 客户端编号
     */
    public String getClientIp() {
        return clientIp;
    }

    /**
     * 设置: 客户端编号
     */
    public void setClientIp(String clientIp) {
        this.clientIp = clientIp;
    }

    /**
     * 获取: 请求路径
     */
    public String getUrl() {
        return url;
    }

    /**
     * 设置: 请求路径
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * 获取: 客户端类型
     */
    public String getContentType() {
        return contentType;
    }

    /**
     * 设置: 客户端类型
     */
    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    /**
     * 获取: 消息编号
     */
    public String getLogId() {
        return logId;
    }

    /**
     * 设置: 消息编号
     */
    public void setLogId(String logId) {
        this.logId = logId;
    }

    /**
     * 获取: 状态码
     */
    public Integer getStatusCode() {
        return statusCode;
    }

    /**
     * 设置: 状态码
     */
    public void setStatusCode(Integer statusCode) {
        this.statusCode = statusCode;
    }

    /**
     * 获取: 错误码
     */
    public String getErrorCode() {
        return errorCode;
    }

    /**
     * 设置: 错误码
     */
    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    /**
     * 获取: 错误消息
     */
    public String getErrorMsg() {
        return errorMsg;
    }

    /**
     * 设置: 错误消息
     */
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    /**
     * 获取: 返回结果
     */
    public String getRspMsg() {
        return rspMsg;
    }

    /**
     * 设置: 返回结果
     */
    public void setRspMsg(String rspMsg) {
        this.rspMsg = rspMsg;
    }

    /**
     * 获取: 请求参数
     */
    public String getReqParams() {
        return reqParams;
    }

    /**
     * 设置: 请求参数
     */
    public void setReqParams(String reqParams) {
        this.reqParams = reqParams;
    }

    /**
     * 获取: Created
     */
    public Date getCreated() {
        return created;
    }

    /**
     * 设置: Created
     */
    public void setCreated(Date created) {
        this.created = created;
    }
}
